﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;


namespace MvcApp.Models
{
    public enum Gender
    {
        [Description("男")]
        Male = 1,

        [Description("女")]
        Female = 2
    }

    public class Person
    {
        public string Name { get; set; }

        public Person Father { get; set; }

        public IList<Person> Children { get; set; }
    }
}